package task

import "io"

type ITask interface {
	GetKey() string
	SetKey(string)
	URL() string
	Reader() io.Reader
	SetReader(io.Reader)
	GetParseFunc(io.Reader) interface{}
	RetryAble() bool
	Error() string
	SetErr(error)
	OccurErr() bool
	SetResult(interface{})
	GetResult() interface{}
}
